ForwardInterface

This function receives a string containing the member name which implements the interface I.

So, whenever something calls the interface.memberFunction, it will forward the call to that member by doing void memberFunction(){member.memberFunction();}, if the function is already defined, it will be ignored.

[Dev: Futurely, it should be changed to use alias member instead of getting its string.]

string
ForwardInterface
(
string member
I
)
()
if (
is(I == interface)
)

Meta